package com.bawei.a2010douyin.ui.register;

import com.bawei.a2010douyin.base.mvp.BaseView;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.RegisterEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;

public interface RegisterContract {
    interface IRegisterModel{
        Observable<BaseResponse<RegisterEntity>> register( RequestBody requestBody);
    }
    interface IRegisterView extends BaseView {
        void showRegister(RegisterEntity data);
    }
    interface IRegisterPresenter{
     void register( RequestBody requestBody);
    }
}
